package com.modeldiy;

import com.model.TChina;

/**
 *
 */
public class TChinaNode {
    private Long id;
    private String name;
    private Long pId;
    private Integer isDeleted;

    public TChinaNode(){}
    public TChinaNode(TChina china){
        this.id = china.getId();
        this.name = china.getName();
        this.pId=china.getPid();
        this.isDeleted = china.getIsDeleted();
    }
    public Long getId () {
        return id;
    }

    public void setId (Long id) {
        this.id = id;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public Long getpId () {
        return pId;
    }

    public void setpId (Long pId) {
        this.pId = pId;
    }

    public Integer getIsDeleted () {
        return isDeleted;
    }

    public void setIsDeleted (Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}
